//引入封装的请求服务
import { POST } from '@/services/request.js'

//导出接口
const Product = {
  ProductIndex(data = {})
  {
    return POST({
      url: '/product/product/index',
      params: data
    })
  },
  ProductInfo(data = {})
  {
    return POST({
      url: '/product/product/info',
      params: data
    })
  },
  ProductCollection(data = {})
  {
    return POST({
      url: '/product/product/collection',
      params: data
    })
  },
  ProductCancel(data = {})
  {
    return POST({
      url: '/product/product/cancel',
      params: data
    })
  },
  ProductHome(data = {})
  {
    return POST({
      url:'/product/product/home',
      params:data
    })
  }
}

export default Product